Documentation

imonit_client.php

This is the client-side library required for using the i-mon-it service. There are four files required to be plced on your web servers: 1. imonit_client.php: This is the core requirement holding the logic and required methods 1. imonit_client_lib.php: This is the supporting libary holding som function used by @see imm-mon-it_client.php 1. imonit_client.inc; This is a helperfile, which is loading the client libary and the client side libary into your web application. You would need to load this file into everey of the files and clases you wish to use i-mon-it in.

  1. imonit.token This is the token file identifying your webappliction. This is personalized for each of your web applications monitored by the i-mon-it service.

This library contains several static functions, which make remote calls to the i-mon-it server.In order to use the i-mon-it micro services you need to include this library and imonit_client_lib.php into every page and class you want to monitor with the i-mon-it service. In order to use the services you need to call the centrali-mon-it Saas micro services. Below you find the explanation how to do this:

Tags
see
imonit_client::start()
see
imonit_client::gettokenid

()

see
imonit_client::mid()
see
imonit_client::end()
see
imonit_client::startPage

()

see
imonit_client::lastentry()
see
imonit_client::midPage()
see
imonit_client::endPage()
see
imonit_client::__construct()
see
imonit_client::verifytoken()
see
imonit_client::updatetoken()
see
imonit_client::ua()
author

Stephan Haux

copyright

i-mon-it 2026

version
00.01.225

19.09.2026

name

i-mon-it Client

category

library @api

Table of Contents

Classes

imonit_client

Constants

checktoken  = \listener . '/checktoken.php'
URL for the verifytoken service
count  = \listener . 'count.php'
URL for the count microservice service.
end  = \listener . 'end.php'
URL for the end service.
endpage  = \listener . '/endpage.php'
URL for the endpage service.
imonit_server  = 'server.i-mon-it.de'
itoken  = 'token'
This is the name of the session variable holding information about the token number used on the website to be monitored.
itokenfilename  = 'imonit.token'
Name of the local file holding the token information.This file has to be placed in the root directory of your webapplication and one each for each webapplication. Those files are personalized fao our account and the webapplivcation you are monitoring with i-mon-it.
lastentry  = \listener . 'lastentry.php'
listener  = 'http://' . \imonit_server . '/'
local_server  = '.i-mon-it.local'
mid  = \listener . 'mid.php'
URL for the mid service.
midpage  = \listener . '/midpage.php'
URL for the midpage service.
ping  = \listener . 'ping.php'
start  = \listener . 'start.php'
startpage  = \listener . 'startpage.php'
ua  = \listener . 'UA.php'

Constants

endpage

URL for the endpage service.

public string endpage = \listener . '/endpage.php'

URL for the endpage service

Tags
see
imonit_client::endpage()

imonit_server

public mixed imonit_server = 'server.i-mon-it.de'

itoken

This is the name of the session variable holding information about the token number used on the website to be monitored.

public mixed itoken = 'token'

you

itokenfilename

Name of the local file holding the token information.This file has to be placed in the root directory of your webapplication and one each for each webapplication. Those files are personalized fao our account and the webapplivcation you are monitoring with i-mon-it.

public string itokenfilename = 'imonit.token'

Name of the tokenfile holding the correct information.

lastentry

public mixed lastentry = \listener . 'lastentry.php'

listener

public mixed listener = 'http://' . \imonit_server . '/'

midpage

URL for the midpage service.

public string midpage = \listener . '/midpage.php'

URL for the endpage service

Tags
see
imonit_client::endpage()

startpage

public mixed startpage = \listener . 'startpage.php'

        
On this page

Search results